<template>
  <div>
    <slot name="navbar"></slot>
  </div>
</template>
<script>
  export default {
    name: "navbar",
    data() {
      return {
        list: [{
          id: 1,
          title: "提现",
          to: "#"
        }]
      };
    },
    methods: {}
  };
</script>
<style lang="scss" scoped>
  .navbar {
    display: flex;
    background: #fff;
    padding: 0 10px;
    margin-bottom: 20px;
    z-index: 9999;
    .navitem {
      flex: 1;
      text-align: center;
      color: inherit;
      line-height: 1;
      a {
        display: block;
        padding: 15px 0;
        font-size: 1.272727rem;
      }
      &.active {
        border-bottom: 3px solid #ffba00;
        a {
          color: #ffba00;
          font-weight: 700;
        }
      }
    }
  }
</style>

